<form action="javascript:login()" method="post">
    <div id="username">
        Username
        <input name="myusername" type="text" id="myusername">
    </div>
    <div id="password">
        Password
        <input name="mypassword" type="password" id="mypassword">
    </div>
    <div id="submit">
        <input type="submit" name="Submit" value="Login">
    </div>
</form>